package com.hz.dao;

import com.hz.pojo.WithdrawDeposit;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WithdrawDepositDao {
    /**
     * 根据提现表中的用户id查询对应用户的提现记录
     * @param withdrawDeposit_user_id     用户open_id
     * @return 返回提现记录集合
     * @throws Exception
     */
    public abstract List<WithdrawDeposit> getWithdrawDepositList(@Param("withdrawDeposit_user_id") String withdrawDeposit_user_id,@Param("withdrawDeposit_getmoney_state") Integer asd) throws Exception;

    /**
     * 修改提现状态
     * @param withdrawDeposit   提现信息
     * @return
     * @throws Exception
     */
    public abstract int updWithdrawDepositGetmoneyState(WithdrawDeposit withdrawDeposit)throws Exception;


}
